package com.ruoyi.finance.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 凭证模板明细对象 t_voucher_template_detail
 *
 * @author ruoyi
 * @date 2025-02-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_voucher_template_detail")
public class TVoucherTemplateDetail
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    @Excel(name = "明细ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 模板ID */
    @Excel(name = "模板ID")
    private Long templateId;

    /** 科目ID */
    @Excel(name = "科目ID")
    private Long subjectId;

    /** 摘要ID */
    @Excel(name = "摘要ID")
    private Long abstractId;

    /** 方向ID */
    @Excel(name = "方向ID")
    private Long fxType;

    /** 借方金额 */
    @Excel(name = "借方金额")
    private BigDecimal debitAmount;

    /** 贷方金额 */
    @Excel(name = "贷方金额")
    private BigDecimal creditAmount;
}
